//
//  UIFont+ZFont.m
//  NewProject
//
//  Created by 陈洪鑫 on 2018/5/6.
//  Copyright © 2018年 chenIos. All rights reserved.
//

#import "UIFont+ZFont.h"
#import <objc/runtime.h>
@implementation UIFont (ZFont)
//+ (void)load
//{
//    Method systimeFontWithName = class_getClassMethod(self, @selector(fontWithName:size:));
//    Method changeSystimeFont = class_getClassMethod(self, @selector(z_fontWithName:size:));
//    method_exchangeImplementations(changeSystimeFont, systimeFontWithName);
//}
//+ (UIFont *)z_fontWithName:(NSString *)name size:(CGFloat)pxsize{
//    CGFloat pt = (pxsize/96.0)*72;
//    UIFont *font = [UIFont z_fontWithName:name size:pt];
//    return font;
//}
@end
